Optimal. Leaf size=65 \[ \frac {b x \sqrt {b \cos (c+d x)}}{2 \sqrt {\cos (c+d x)}}+\frac {b \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)} \sin (c+d x)}{2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 65, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {17, 2715, 8}
\begin {gather*} \frac {b x \sqrt {b \cos (c+d x)}}{2 \sqrt {\cos (c+d x)}}+\frac {b \sin (c+d x) \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)}}{2 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 17
Rule 2715
Rubi steps
\begin {align*} \int \sqrt {\cos (c+d x)} (b \cos (c+d x))^{3/2} \, dx &=\frac {\left (b \sqrt {b \cos (c+d x)}\right ) \int \cos ^2(c+d x) \, dx}{\sqrt {\cos (c+d x)}}\\ &=\frac {b \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)} \sin (c+d x)}{2 d}+\frac {\left (b \sqrt {b \cos (c+d x)}\right ) \int 1 \, dx}{2 \sqrt {\cos (c+d x)}}\\ &=\frac {b x \sqrt {b \cos (c+d x)}}{2 \sqrt {\cos (c+d x)}}+\frac {b \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)} \sin (c+d x)}{2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 45, normalized size = 0.69 \begin {gather*} \frac {(b \cos (c+d x))^{3/2} (2 (c+d x)+\sin (2 (c+d x)))}{4 d \cos ^{\frac {3}{2}}(c+d x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 42, normalized size = 0.65
method | result | size |
default | \(\frac {\left (b \cos \left (d x +c \right )\right )^{\frac {3}{2}} \left (\sin \left (d x +c \right ) \cos \left (d x +c \right )+d x +c \right )}{2 d \cos \left (d x +c \right )^{\frac {3}{2}}}\) | \(42\) |
risch | \(\frac {b \sqrt {b \cos \left (d x +c \right )}\, \left (\sqrt {\cos }\left (d x +c \right )\right ) {\mathrm e}^{i \left (d x +c \right )} x}{{\mathrm e}^{2 i \left (d x +c \right )}+1}-\frac {i b \sqrt {b \cos \left (d x +c \right )}\, \left (\sqrt {\cos }\left (d x +c \right )\right ) {\mathrm e}^{3 i \left (d x +c \right )}}{4 \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right ) d}+\frac {i b \sqrt {b \cos \left (d x +c \right )}\, \left (\sqrt {\cos }\left (d x +c \right )\right ) {\mathrm e}^{-i \left (d x +c \right )}}{4 \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right ) d}\) | \(139\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.61, size = 28, normalized size = 0.43 \begin {gather*} \frac {{\left (2 \, {\left (d x + c\right )} b + b \sin \left (2 \, d x + 2 \, c\right )\right )} \sqrt {b}}{4 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.42, size = 153, normalized size = 2.35 \begin {gather*} \left [\frac {2 \, \sqrt {b \cos \left (d x + c\right )} b \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right ) + \sqrt {-b} b \log \left (2 \, b \cos \left (d x + c\right )^{2} - 2 \, \sqrt {b \cos \left (d x + c\right )} \sqrt {-b} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right ) - b\right )}{4 \, d}, \frac {\sqrt {b \cos \left (d x + c\right )} b \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right ) + b^{\frac {3}{2}} \arctan \left (\frac {\sqrt {b \cos \left (d x + c\right )} \sin \left (d x + c\right )}{\sqrt {b} \cos \left (d x + c\right )^{\frac {3}{2}}}\right )}{2 \, d}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (b \cos {\left (c + d x \right )}\right )^{\frac {3}{2}} \sqrt {\cos {\left (c + d x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: NotImplementedError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.53, size = 63, normalized size = 0.97 \begin {gather*} \frac {b\,\sqrt {\cos \left (c+d\,x\right )}\,\sqrt {b\,\cos \left (c+d\,x\right )}\,\left (\sin \left (c+d\,x\right )+\sin \left (3\,c+3\,d\,x\right )+4\,d\,x\,\cos \left (c+d\,x\right )\right )}{4\,d\,\left (\cos \left (2\,c+2\,d\,x\right )+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________